<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-CN">
<head>
<link rel="stylesheet" href="<%=path%>/css/pc/bbs.css">
<link rel="stylesheet" href="<%=path%>/css/page.css">
<script type="text/javascript" src="<%=path%>/js/pc/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<%=path%>/js/pc/nav.js"></script>
<script type="text/javascript" src="<%=path%>/js/page.js"></script>
<title>关于论坛</title>
</head>
<body>
	<!--     头部公共部分   -->
	<%@include file="../partpage/hander.jsp"%>
	<!--
        	作者：offline
        	时间：2016-12-27
        	描述：bbs内容
        -->
	<div class="bbs_wtf">
	<div class="bbs_div1_wtf">
		    	<div class="bbs_div1">
					<a href="<%=path%>/newsctr/forum.htm">首页</a> >
					<a href="<%=request.getContextPath()%>/basicctr/pcbbsbasic.htm?id=1">关于论坛</a> >
					<a href="###">理事动态</a>
				</div>
    		</div>
		<div class="bbs">
			<img class="bbs_img1" src="<%=path%>/images/pc/news_01.jpg" />
			<div class="bbs_div2">
				<div class="bbs_div2_div1">
					<img class="bbs_div2_div1_img1" src="<%=path%>/images/pc/news_02.jpg" />
						<a class="bbs_div2_div1_a2" href="<%=path%>/basicctr/pcbbsbasic.htm?id=1">论坛概况</a>
        				<a class="bbs_div2_div1_a2" href="<%=path%>/organize/pcolist.htm">机构设置</a>
        				<a class="bbs_div2_div1_a1" href="###">理事动态</a>

				</div>
				<div class="bbs_div2_div2">
					<div class="bbs_div2_div2_div1">
						<c:if test="${news.newsType==1}">新闻动态</c:if>
						<c:if test="${news.newsType==2}">近期要闻</c:if>
						<c:if test="${news.newsType==3}">通知公告</c:if>
						<c:if test="${news.newsType==4}">理事动态</c:if>
					</div>
					<div class="bbs_div2_div2_div4">
						<c:forEach items="${list}" var="newses">
							<div class="bbs_div2_div2_div4_div1">
								<a href="javascript: tonews('${newses.newsId}')">${newses.newsTheme}</a> <span>[<fmt:formatDate
										value="${newses.newsPublisTime}" pattern="yyyy-MM-dd" />]
								</span>
							</div>
						</c:forEach>
					</div>
				</div>
				<div class="clearboth"></div>
				<div class="page">
					<!-- 分页 -->
					<c:set value="${news.pageInfo}" var="pageInfo"></c:set>
					<%@include file="../template/pageTemplate.jsp"%>
				</div>
				<form action="pcnewslist.htm" id="sform" method="post">
					<input type="hidden" id="pageIndex" name="pageIndex"
						value="${news.pageInfo.pageIndex}" /> <input type="hidden"
						id="pageSize" name="pageSize" value="${news.pageInfo.pageSize}" />
					<input type="hidden" id="newsType" name="newsType"
						value="${news.newsType}" /><input type="hidden" name="newsId" id="newsId" value="0"/>
				</form>
			</div>
		</div>
	</div>
	<!--     底部公共部分   -->
	<%@include file="../partpage/bottom.jsp"%>
</body>
<script type="text/javascript">
//详情
function todetail(id){
	//$("#newsId").val(id);
	//$("#sform").attr("action", "pcnews.htm");
	//$("#sform").submit();
	var newsType=$("#newsType").val();
	window.location.href="<%=path%>/newsctr/pcnews.htm?newsId="+id+"&newsType="+newsType;
}
//打开新页面
function tonews(id){
	window.open("<%=path%>/newsctr/pcnews.htm?newsId="+id);
}
</script>
</html>

